package com.bookstore.service;
import com.bookstore.bean.ShoppingCart;

import javax.servlet.http.HttpServletRequest;
/**
 * Created by Admin on 9/16 0016.
 */
public interface CashService {
    StringBuffer validateFormField(String username, String accountId);
    StringBuffer validateUser(String username, String accountId) ;
    StringBuffer validateStoreNumber(HttpServletRequest request) ;
    StringBuffer validateBalance(HttpServletRequest request, String accountId) ;
    void cash(ShoppingCart shoppingCart, String username, String accountId) ;

}
